Optimal. Leaf size=70 \[ -\frac{i b \text{PolyLog}\left (2,-i e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{i b \text{PolyLog}\left (2,i e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{2 \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0641422, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {5693, 4180, 2279, 2391} \[ -\frac{i b \text{PolyLog}\left (2,-i e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{i b \text{PolyLog}\left (2,i e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{2 \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{c d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5693
Rule 4180
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \sinh ^{-1}(c x)}{d+c^2 d x^2} \, dx &=\frac{\operatorname{Subst}\left (\int (a+b x) \text{sech}(x) \, dx,x,\sinh ^{-1}(c x)\right )}{c d}\\ &=\frac{2 \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{c d}-\frac{(i b) \operatorname{Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{c d}+\frac{(i b) \operatorname{Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{c d}\\ &=\frac{2 \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{c d}-\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{c d}\\ &=\frac{2 \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{c d}-\frac{i b \text{Li}_2\left (-i e^{\sinh ^{-1}(c x)}\right )}{c d}+\frac{i b \text{Li}_2\left (i e^{\sinh ^{-1}(c x)}\right )}{c d}\\ \end{align*}
Mathematica [A] time = 0.103496, size = 135, normalized size = 1.93 \[ -\frac{c \left (b c \text{PolyLog}\left (2,\frac{c e^{\sinh ^{-1}(c x)}}{\sqrt{-c^2}}\right )-b c \text{PolyLog}\left (2,\frac{\sqrt{-c^2} e^{\sinh ^{-1}(c x)}}{c}\right )+a \sqrt{-c^2} \tan ^{-1}(c x)-b c \sinh ^{-1}(c x) \log \left (\frac{c e^{\sinh ^{-1}(c x)}}{\sqrt{-c^2}}+1\right )+b c \sinh ^{-1}(c x) \log \left (\frac{\sqrt{-c^2} e^{\sinh ^{-1}(c x)}}{c}+1\right )\right )}{\left (-c^2\right )^{3/2} d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.036, size = 171, normalized size = 2.4 \begin{align*}{\frac{a\arctan \left ( cx \right ) }{cd}}+{\frac{b{\it Arcsinh} \left ( cx \right ) \arctan \left ( cx \right ) }{cd}}-{\frac{b\arctan \left ( cx \right ) }{cd}\ln \left ( 1-{i \left ( 1+icx \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \right ) }+{\frac{b\arctan \left ( cx \right ) }{cd}\ln \left ( 1+{i \left ( 1+icx \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \right ) }+{\frac{ib}{cd}{\it dilog} \left ( 1-{i \left ( 1+icx \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \right ) }-{\frac{ib}{cd}{\it dilog} \left ( 1+{i \left ( 1+icx \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b \int \frac{\log \left (c x + \sqrt{c^{2} x^{2} + 1}\right )}{c^{2} d x^{2} + d}\,{d x} + \frac{a \arctan \left (c x\right )}{c d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \operatorname{arsinh}\left (c x\right ) + a}{c^{2} d x^{2} + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a}{c^{2} x^{2} + 1}\, dx + \int \frac{b \operatorname{asinh}{\left (c x \right )}}{c^{2} x^{2} + 1}\, dx}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{arsinh}\left (c x\right ) + a}{c^{2} d x^{2} + d}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]